<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta charset="utf-8"/>
    <title>飞燕IM系统</title>
    <link charset="utf-8" rel="stylesheet" href="style/main.css"/>
</head>

<body>
<div class="index-main">
    <div class="p2p-msg-box" id="initBox">
        <div class="p2p-item"><label>链接地址：</label><input id="ws" value="ws://192.168.0.159:9999"/></div>
        <div class="p2p-item"><label>用&ensp;户&ensp;名：</label><input id="uid" value="GXG"/></div>
        <div class="p2p-item"><label>所属分组：</label><input id="group" value="JSFJ"/></div>
        <div class="chart-btn p2p-item" id="initBtn">连接</div>
    </div>
    <div class="p2p-msg-box" id="chatMain" style="display: none;">
        <div class="p2p-item"><label>发&ensp;送&ensp;者：</label><input id="from"/></div>
        <div class="p2p-item"><label>接&ensp;收&ensp;者：</label><input id="to" value="Admin"/></div>
        <div class="p2p-item"><label>消息内容：</label><input id="msg"/></div>
        <div class="chart-btn p2p-item" id="msgSendBtn">发送消息</div>
        <div class="p2p-item" id="msgResult"></div>
    </div>
</div>
</body>
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/websocket.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/p2p.js"></script>
</html>